package com.bw.service;

import com.bw.bean.Week;
import com.bw.bean.Week2;
import com.bw.dao.WeekDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class WeekServiceImpl implements WeekService {
    @Autowired
    WeekDao weekDao;

    @Override
    public List<Week> getList1() {
        return weekDao.getList1();
    }

    @Override
    public List<Week> getList2() {
        return weekDao.getList2();
    }

    @Override
    public List<Week2> getList3() {
        return weekDao.getList3();
    }

    @Override
    public List<Week> getList4() {
        return weekDao.getList4();
    }

    @Override
    public List<Week> getList5() {
        return weekDao.getList5();
    }

    @Override
    public int del(int id) {
        return weekDao.del(id);
    }
}
